package com.langchao.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "示例接口")
@RestController
public class DemoController {

    @ApiOperation("测试接口")
    @GetMapping("/test")
    public String test() {
        return "Hello Knife4j!";
    }
}